package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2023-05-07
 */
@TableName("access_control_device")
public class Access implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String principal;

    private String supplier;

    private String brand;

    private Integer hospitalId;

    private Integer status;

    private Date addName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Integer getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Integer hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getAddName() {
        return addName;
    }

    public void setAddName(Date addName) {
        this.addName = addName;
    }
    @Override
    public String toString() {
        return "Access{" +
        "id = " + id +
        ", principal = " + principal +
        ", supplier = " + supplier +
        ", brand = " + brand +
        ", hospitalId = " + hospitalId +
        ", status = " + status +
        ", addName = " + addName +
        "}";
    }


}
